<?
include_once("./includes/top.inc.php");
include_once("./includes/autentica.inc.php");

$materias = $OBMateria->obtem("","titulo_materia",1000);
$smarty->assign("materias", $materias);

$conteudo = $smarty->fetch("sistema/materia_list.tpl");

$smarty->assign("conteudo",$conteudo);
$smarty->display("sistema/layout.tpl");
?>